#===========================
# CMakePorts Config.
#===========================

#
# WARNING:
# Never use this CTest script on a CMakePorts source tree
# that you are making modifications to.
#

SET(my_cmake_root "/usr/local/cmake-2.6.3-Linux-i386")
SET(CTEST_BUILD_NAME "Linux_gcc34_static")
set(CTEST_SITE        cartman)

SET(CTEST_SOURCE_DIRECTORY /usr/local/lowmanp/dashboards/CMakePorts/trunk)
SET(CTEST_BINARY_DIRECTORY /usr/local/lowmanp/dashboards/CMakePorts/${CTEST_BUILD_NAME})

# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND ${my_cmake_root}/bin/cmake)

set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(CTEST_PROJECT_NAME    CMakePorts)
set(CTEST_SVN_COMMAND     svn)
set(CTEST_NOTES_FILES     ${CMAKE_CURRENT_LIST_FILE})

set(BUILD_SHARED_LIBS false)

#===========================
# Build CMakePorts
#===========================

ctest_start(Nightly)

ctest_empty_binary_directory( ${CTEST_BINARY_DIRECTORY} )

ctest_update(SOURCE   "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res)
ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)

set(CTEST_BUILD_TARGET prep)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}"  RETURN_VALUE res )

ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)

set(CTEST_BUILD_TARGET)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}"  RETURN_VALUE res )

ctest_submit()

set(CTEST_BUILD_TARGET nuke)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}"  RETURN_VALUE res )



